import { createApp } from 'vue'
import '@/assets/base.css'
import '@/assets/icon/iconfont.css'
import 'element-plus/dist/index.css'
import * as Icons from '@element-plus/icons-vue'; // 引入所有图标

import App from './App.vue'
import router from './router'
import pinia from '@/stores/index'

const app = createApp(App)
// 全局注册所有图标
Object.keys(Icons).forEach(key => {
  app.component(key, Icons[key]);
});

app.use(router)
app.use(pinia)

app.mount('#app')
